//
//  TransView.h
//  KidReading
//
//  Created by telen on 15/1/4.
//  Copyright (c) 2015年 刘赞黄Telen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TLMutexUIViewDelegate.h"

@protocol TransViewDelegate <NSObject>
@optional
- (void)transViewDidShow;
- (void)transViewDidUnshow;
@end

@interface TransView : UIView<TLMutexDelegate>
{
    BOOL isTransformWorking;
    UIImageView* bgview;
    UILabel* label;
    //
    CGFloat lineHeight_content;
}

@property(nonatomic,assign)CGPoint pt_show;
@property(nonatomic,weak)UIView* pt_unshowFollowView;//指针的指针
@property(nonatomic,readonly) BOOL isInShowing;
@property(nonatomic,weak)id<TransViewDelegate> delegate;
//
@property(nonatomic,strong)NSString* bookName;

- (void)setText:(NSString*)str;

- (void)show;
- (void)unShow;
- (void)unShow_must;

@end
